package com.gml.jdk.annotation.table;

/**
 * 数据库Member表对应实体类
 * @author gml
 * @version V1.0
 * @Package com.gml.test.annotation.table
 * @date 2020/9/9 23:05
 */
@DBTable(name = "member")
public class Member {
    //主键
    @SQLString(name = "id", value = 32, constraints = @Constraints(primaryKey = true))
    private String id;

    @SQLString(name = "name", value = 32)
    private String name;

    @SQLInteger(name = "age")
    private int age;
}
